<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/search.html" method="post">
        <input name="key"><input type="submit" value="查询">
    </form>
    <div th:each="d:${dishes}">
        <div th:utext="${d.name}"></div>
        <div th:text="${d.price}"></div>
        <div th:text="${d.id}"></div>
        <hr/>
    </div>
</body>
</html>